package com.zboot.zbootadmin.project.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author draw
 * @since 2021-05-08
 */
@Data
@ApiModel(value = "Vendor对象", description = "")
public class Vendor implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;

    @ApiModelProperty(value = "厂商编码")
    private String code;

    @ApiModelProperty(value = "厂商名称")
    private String name;

    @ApiModelProperty(value = "坐标省")
    private String provinceId;

    @ApiModelProperty(value = "坐标市")
    private String cityId;

    @ApiModelProperty(value = "坐标区")
    private String countyId;

    @ApiModelProperty(value = "坐标街道")
    private String streetId;

    @ApiModelProperty(value = "详细地址")
    private String location;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "企业资质")
    private String enterpriseQualification;

    @ApiModelProperty(value = "状态：0启用，1删除")
    private Integer status=0;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate =new Date();

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastModifedDate=createDate;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系电话 ")
    private String telephone;

    @ApiModelProperty(value = "企业简介")
    private String enterpriseProfile;


}
